#define  _CRT_SECURE_NO_WARNINGS 
#include <stdio.h>
void main()
{
	int n;
	int c[100];
	n = 0;
	do
	{
		printf("enter num:\n");
		scanf("%d", &c[n]);
		printf("%d\n", c[n]);
		n++;
	} while (c[n-1]>=0);
}